package com.detrum.sportcamera.runnable;

/**
 * Created by chenlei on 2017/4/5.
 * 请求回调
 */

public interface ResponseCallBack {

    public enum ActionTypes {

        LOGIN,

        LOGOUT,

        HEART,

        SETTIME,

        FW_VERSION,

        CUR_STATUS,

        BAT_REMAIN,

        START_RTP,

        STOP_RTP,

        SET_RECORD_POLICY,

        GET_RECORD_POLICY,

        SET_RECORD_QUALITY,

        GET_RECORD_QUALITY,

        SET_RECORD_MODE,

        GET_RECORD_MODE,

        SET_RECORD_RESOLUTION,

        GET_RECORD_RESOLUTION,

        START_RECORD,

        PAUSE_RECORD,

        STOP_RECORD,

        PHOTO_RESOLUTION,

        TAKE_PHOTO,

        SET_WB_MODE,

        GET_WB_MODE,

        SET_EXPOSURE_MODE,

        GET_EXPOSURE_MODE,

        GET_SD_INFO,

        GET_TV_MODE,

        SET_TV_MODE,

        GET_OSD_MODE,

        SET_OSD_MODE,

        RECOVERY_DEFAULT_SET,

        PHOTO_NAME,

        VIDEO_NAME,

        D_CAM_DO_UPGRADE
    }

    void succeed(ActionTypes actionTypes, byte[] response);

    void failed(ActionTypes actionTypes, byte[] response);

}
